package com.ruoyi.Goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 商品表 xyb_goods
 * 
 * @author ruoyi
 * @date 2019-07-18
 */
public class Goods extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Integer id;
	/** 商品编号 */
	private String goodsBh;
	/** 商品名称 */
	private String goodsName;
	/** 商品图片 */
	private String goodsTp;
	/** 库存 */
	private Integer goodsNum;
	/** 商品类型 */
	private String goodsLxId;
	/** 销量 */
	private Integer goodsXl;
	/** 是否有效 1有效 0无效 */
	private Integer valid;
	/** 创建时间 */
	private Date creactDate;
	/** 修改时间 */
	private Date modifyDate;
	/** 修改人 */
	private String modifyBy;
	/** 商品状态 */
	private String goodsStatus;
	/** 已售出数量 */
	private Integer goodsSelled;
	/** 是否新品 */
	private String goodsIsnew;
	/** 是否参加活动 */
	private String goodsIsjoin;
	/** 是否包邮 */
	private String goodsEmail;
	/** 现价 */
	private Double goodsNowprice;
	/** 原价 */
	private Double goodsBeforeprice;
	/** 是否支持货到付款 */
	private String goodsMoneyaftergive;
	/** 有无正品保证 */
	private String goodsRealpromise;
	/** 是否七天无理由退货 */
	private String goodsBack;
	/** 有无发票 */
	private String goodsInvoice;
	/** 是否保修 */
	private String goodsRepair;
	/** 运费 */
	private Double goodsReceiveprice;
	/** 重量 */
	private String goodsWeight;
	/** 库存类型 */
	private String goodsStocktype;
	/** 商品布局 */
	private String goodsLayout;
	/** 预留字段1 */
	private String goodsYuliu1;
	/** 预留字段2 */
	private String goodsYuliu2;
	/**  */
	private String schoolId;
	/** 商品副文本 */
	private String goodsIntroduce;
	/** 商品库  1为商品库商品   0为普通商品 */
	private Integer goodsStore;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setGoodsBh(String goodsBh) 
	{
		this.goodsBh = goodsBh;
	}

	public String getGoodsBh() 
	{
		return goodsBh;
	}
	public void setGoodsName(String goodsName) 
	{
		this.goodsName = goodsName;
	}

	public String getGoodsName() 
	{
		return goodsName;
	}
	public void setGoodsTp(String goodsTp) 
	{
		this.goodsTp = goodsTp;
	}

	public String getGoodsTp() 
	{
		return goodsTp;
	}
	public void setGoodsNum(Integer goodsNum) 
	{
		this.goodsNum = goodsNum;
	}

	public Integer getGoodsNum() 
	{
		return goodsNum;
	}
	public void setGoodsLxId(String goodsLxId) 
	{
		this.goodsLxId = goodsLxId;
	}

	public String getGoodsLxId() 
	{
		return goodsLxId;
	}
	public void setGoodsXl(Integer goodsXl) 
	{
		this.goodsXl = goodsXl;
	}

	public Integer getGoodsXl() 
	{
		return goodsXl;
	}
	public void setValid(Integer valid) 
	{
		this.valid = valid;
	}

	public Integer getValid() 
	{
		return valid;
	}
	public void setCreactDate(Date creactDate) 
	{
		this.creactDate = creactDate;
	}

	public Date getCreactDate() 
	{
		return creactDate;
	}
	public void setModifyDate(Date modifyDate) 
	{
		this.modifyDate = modifyDate;
	}

	public Date getModifyDate() 
	{
		return modifyDate;
	}
	public void setModifyBy(String modifyBy) 
	{
		this.modifyBy = modifyBy;
	}

	public String getModifyBy() 
	{
		return modifyBy;
	}
	public void setGoodsStatus(String goodsStatus) 
	{
		this.goodsStatus = goodsStatus;
	}

	public String getGoodsStatus() 
	{
		return goodsStatus;
	}
	public void setGoodsSelled(Integer goodsSelled) 
	{
		this.goodsSelled = goodsSelled;
	}

	public Integer getGoodsSelled() 
	{
		return goodsSelled;
	}
	public void setGoodsIsnew(String goodsIsnew) 
	{
		this.goodsIsnew = goodsIsnew;
	}

	public String getGoodsIsnew() 
	{
		return goodsIsnew;
	}
	public void setGoodsIsjoin(String goodsIsjoin) 
	{
		this.goodsIsjoin = goodsIsjoin;
	}

	public String getGoodsIsjoin() 
	{
		return goodsIsjoin;
	}
	public void setGoodsEmail(String goodsEmail) 
	{
		this.goodsEmail = goodsEmail;
	}

	public String getGoodsEmail() 
	{
		return goodsEmail;
	}
	public void setGoodsNowprice(Double goodsNowprice) 
	{
		this.goodsNowprice = goodsNowprice;
	}

	public Double getGoodsNowprice() 
	{
		return goodsNowprice;
	}
	public void setGoodsBeforeprice(Double goodsBeforeprice) 
	{
		this.goodsBeforeprice = goodsBeforeprice;
	}

	public Double getGoodsBeforeprice() 
	{
		return goodsBeforeprice;
	}
	public void setGoodsMoneyaftergive(String goodsMoneyaftergive) 
	{
		this.goodsMoneyaftergive = goodsMoneyaftergive;
	}

	public String getGoodsMoneyaftergive() 
	{
		return goodsMoneyaftergive;
	}
	public void setGoodsRealpromise(String goodsRealpromise) 
	{
		this.goodsRealpromise = goodsRealpromise;
	}

	public String getGoodsRealpromise() 
	{
		return goodsRealpromise;
	}
	public void setGoodsBack(String goodsBack) 
	{
		this.goodsBack = goodsBack;
	}

	public String getGoodsBack() 
	{
		return goodsBack;
	}
	public void setGoodsInvoice(String goodsInvoice) 
	{
		this.goodsInvoice = goodsInvoice;
	}

	public String getGoodsInvoice() 
	{
		return goodsInvoice;
	}
	public void setGoodsRepair(String goodsRepair) 
	{
		this.goodsRepair = goodsRepair;
	}

	public String getGoodsRepair() 
	{
		return goodsRepair;
	}
	public void setGoodsReceiveprice(Double goodsReceiveprice) 
	{
		this.goodsReceiveprice = goodsReceiveprice;
	}

	public Double getGoodsReceiveprice() 
	{
		return goodsReceiveprice;
	}
	public void setGoodsWeight(String goodsWeight) 
	{
		this.goodsWeight = goodsWeight;
	}

	public String getGoodsWeight() 
	{
		return goodsWeight;
	}
	public void setGoodsStocktype(String goodsStocktype) 
	{
		this.goodsStocktype = goodsStocktype;
	}

	public String getGoodsStocktype() 
	{
		return goodsStocktype;
	}
	public void setGoodsLayout(String goodsLayout) 
	{
		this.goodsLayout = goodsLayout;
	}

	public String getGoodsLayout() 
	{
		return goodsLayout;
	}
	public void setGoodsYuliu1(String goodsYuliu1) 
	{
		this.goodsYuliu1 = goodsYuliu1;
	}

	public String getGoodsYuliu1() 
	{
		return goodsYuliu1;
	}
	public void setGoodsYuliu2(String goodsYuliu2) 
	{
		this.goodsYuliu2 = goodsYuliu2;
	}

	public String getGoodsYuliu2() 
	{
		return goodsYuliu2;
	}
	public void setSchoolId(String schoolId) 
	{
		this.schoolId = schoolId;
	}

	public String getSchoolId() 
	{
		return schoolId;
	}
	public void setGoodsIntroduce(String goodsIntroduce) 
	{
		this.goodsIntroduce = goodsIntroduce;
	}

	public String getGoodsIntroduce() 
	{
		return goodsIntroduce;
	}
	public void setGoodsStore(Integer goodsStore) 
	{
		this.goodsStore = goodsStore;
	}

	public Integer getGoodsStore() 
	{
		return goodsStore;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodsBh", getGoodsBh())
            .append("goodsName", getGoodsName())
            .append("goodsTp", getGoodsTp())
            .append("goodsNum", getGoodsNum())
            .append("goodsLxId", getGoodsLxId())
            .append("goodsXl", getGoodsXl())
            .append("valid", getValid())
            .append("creactDate", getCreactDate())
            .append("modifyDate", getModifyDate())
            .append("createBy", getCreateBy())
            .append("modifyBy", getModifyBy())
            .append("goodsStatus", getGoodsStatus())
            .append("goodsSelled", getGoodsSelled())
            .append("goodsIsnew", getGoodsIsnew())
            .append("goodsIsjoin", getGoodsIsjoin())
            .append("goodsEmail", getGoodsEmail())
            .append("goodsNowprice", getGoodsNowprice())
            .append("goodsBeforeprice", getGoodsBeforeprice())
            .append("goodsMoneyaftergive", getGoodsMoneyaftergive())
            .append("goodsRealpromise", getGoodsRealpromise())
            .append("goodsBack", getGoodsBack())
            .append("goodsInvoice", getGoodsInvoice())
            .append("goodsRepair", getGoodsRepair())
            .append("goodsReceiveprice", getGoodsReceiveprice())
            .append("goodsWeight", getGoodsWeight())
            .append("goodsStocktype", getGoodsStocktype())
            .append("goodsLayout", getGoodsLayout())
            .append("goodsYuliu1", getGoodsYuliu1())
            .append("goodsYuliu2", getGoodsYuliu2())
            .append("schoolId", getSchoolId())
            .append("goodsIntroduce", getGoodsIntroduce())
            .append("goodsStore", getGoodsStore())
            .toString();
    }
}
